home *** CD-ROM | disk | FTP | other *** search
/ JCSM Shareware Collection 1993 November / JCSM Shareware Collection - 1993-11.iso / cl440 / handicap.lzh / INSTALL.BAT < prev    next >
DOS Batch File  |  1993-07-09  |  3KB  |  97 lines

  1. ECHO OFF
  2. CLS
  3. IF %1. == . GOTO AEND
  4. IF %2. == . GOTO AEND
  5. IF NOT EXIST DPIDPI.DPI ECHO Set prompt to floppy....
  6. IF NOT EXIST DPIDPI.DPI GOTO AEND
  7.  
  8. ECHO ╔═════════════════════════════════════════════════════════════════╗
  9. ECHO ╠Format = INSTALL  {target hard drive:}  {space} {\subdirectory}╣
  10. ECHO ╚═════════════════════════════════════════════════════════════════╝
  11. ECHO - E.g., INSTALL {space} C: {space} \RACE {enter}
  12. ECHO ╔═════════════════════════════════════════════════════════════════╗
  13. ECHO ║ Please make a backup copy....and use the backup copy to install.║
  14. ECHO ║  Press [Ctrl-C] or [Ctrl-Break] if this is not the backup copy. ║
  15. ECHO ╚═════════════════════════════════════════════════════════════════╝
  16. ECHO - Target hard drive ---- %1%2
  17. ECHO ╔═════════════════════════════════════════════════════════════════╗
  18. ECHO ║ If "DOC" files exists on your diskette,  they contain important ║
  19. ECHO ║ infomation that you will want to read.  Insert this diskette in ║
  20. ECHO ║ a floppy drive with the printer on and type:    PRINT *.DOC     ║
  21. ECHO ╚═════════════════════════════════════════════════════════════════╝
  22.  
  23. PAUSE
  24.  
  25. ECHO - PRESS [Enter]......
  26. PRINT /T
  27. CLS
  28. SET BUFFERS=28
  29. SET FILES=24
  30.  
  31. ECHO ▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐
  32. ECHO ▐                     DO NOT COPY FILES INTO SUB-DIRECTORY                   ▐
  33. ECHO ▐ Resident software should be turned off!  E.g., Sidekick, Networks, Windows ▐
  34. ECHO ▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐
  35. ECHO - Please exit Windows to the DOS prompt....
  36. ECHO -
  37. pause
  38. ECHO -
  39. ECHO - Your Environment is as follows.
  40. VER
  41. SET
  42. PAUSE
  43.  
  44. CLS
  45. ECHO - Checking hard drive %1
  46. CHKDSK %1
  47. ECHO ╔══════════════════════════════════════════════════════════════════════╗
  48. ECHO ║ If any of the following conditions exist it is recommended that you  ║
  49. ECHO ║ FORMAT  your  fixed  drive  before  attempting  to load these discs. ║
  50. ECHO ║ 1) Allocation errors  2)Lost........  3)Less than 2 megabytes avail. ║
  51. ECHO ║ Correcting the above conditions will insure  error free performance. ║
  52. ECHO ╚══════════════════════════════════════════════════════════════════════╝
  53. ECHO 
  54. PAUSE
  55.  
  56. CLS
  57.  
  58. IF %1. == . GOTO AEND
  59.  
  60. IF EXIST %1\*.* GOTO KG
  61. ECHO - Hard drive %1 does not exist....
  62. GOTO AEND
  63.  
  64. :KG
  65. IF NOT EXIST %1%2\*.* GOTO KG1
  66. ECHO ╔═══════════════════════════════════════════════════════════════════╗
  67. ECHO ╠If you overwrite the Register...please erase *.RCE, *.BET & *.TTT╣
  68. ECHO ╚═══════════════════════════════════════════════════════════════════╝
  69. ECHO -
  70. ECHO - Answer "Y" to Overwrite?.......
  71.  
  72. :KG1
  73. IF NOT EXIST %1%2\*.* MD %1%2
  74. IF EXIST %1%2\*.SIM ERASE %1%2\*.SIM
  75.  
  76. ECHO -
  77. RACEMAIN /e %1%2
  78.  
  79. COPY RACES.BAT %1%2
  80.  
  81. %1
  82. CD %2
  83. VOL > RACE.VER
  84. CLS
  85. ECHO - Install complete.....
  86. PAUSE
  87.  
  88. TRACK
  89.  
  90. :AEND
  91. ECHO ╔═══════════════════════════════════════════════════════════════╗
  92. ECHO ╠Format = INSTALL {target hard drive:} {space} {\subdirectory}╣
  93. ECHO ╚═══════════════════════════════════════════════════════════════╝
  94. ECHO - E.g., INSTALL {space} C: {space} \RACE {enter}
  95. ECHO Did not install correctly.....
  96. BREAK ON
  97.